package cn.ds.fly.modules.sys.mapper;

import cn.ds.fly.common.BaseMapper;
import cn.ds.fly.modules.sys.entity.FlyUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lds on 2017/12/14.
 */
public interface UserMapper extends BaseMapper<FlyUser> {

    FlyUser findByUsername(@Param("username") String username);

    List<String> queryAllPerms(String id);
}

